Roles
Within our platform, roles play a crucial part in defining the access levels and permissions for users within your application. The Roles section provides a comprehensive interface for managing these roles, from creation to customization of rights associated with each role.
Sidebar and Role Creation
On the left side of the Roles page is a sidebar listing all the roles you have created. At the bottom of this sidebar, a button allows you to add a new role. Clicking this button prompts a dialog where you can specify a name for your new role. Once a role is selected from the sidebar, it becomes active, enabling you to edit its properties and rights within the content area of the page.
An important feature to highlight within the role management interface is the filtering capability provided in the topbar. This feature allows you to filter rights based on the presetTypes such as "entity," "enum," "action," and any custom types you have defined. Utilizing this filter can significantly streamline the process of managing rights by enabling you to focus on the specific types of interest at any given time.
Editing Role Properties
When a role is activated, the content area provides options to edit both defaultRights and specificRights associated with that role. Additionally, a sidebar on the right side of the content area is available for editing meta information about the role, such as its name, icon, and icon color. All changes made in these sections are saved instantly, including modifications to rights and meta information.

Custom Rights Picker
The picker for custom rights introduces states: true-inherited, false-inherited, true-not-inherited, and false-not-inherited. The inherited states are defined by the defaultRights. Clicking the checkbox in an inherited state changes it to false-not inherited, and another click changes it to true-not inherited. Clicking again retrieves the inherited status from the corresponding default right. A blue frame or checkmark indicates an inherited state, while green signifies not inherited.

- false-inherited
- true-inherited
- false-not-inherited
- true-not-inherited